import { CurrencyEnum } from '@/enums'
import { BalanceItem, BalanceList, NetworkAddressItem } from '@/types'

export type GetWalletConfigList = {
	params?: Record<string, any>
	result: BalanceList
}

export type GetUserBalance = {
	params: { currency?: CurrencyEnum }
	result: GetUserBalance['resultItem'][]
	resultItem: Pick<BalanceItem, 'currency' | 'freeAmount'>
}

export type GetUserWalletAddress = {
	params?: Record<string, any>
	result: GetUserWalletAddress['resultItem'][]
	resultItem: Pick<NetworkAddressItem, 'thirdAssetId' | 'walletAddress' | 'memo'> &
		Pick<BalanceItem, 'currency'>
}
